package com.bnz.run.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
//去掉前缀
@ConfigurationProperties(prefix = "jdbc")
@Configuration
public class JdbcProperties {

    private String driverClassName;

    private String url;

    private String username;

    private String password;
}
